/* #region index.html*/
body {
    margin: 0;
    padding: 0;
}

.generalframework {
    width: 1260px;
    margin: 0 auto;


}

.header {

    height: 60px;
    white-space: nowrap;
    background-color: rgb(252, 252, 252);
}

.header ul {
    list-style: none;
    display: flex;
    margin: 0;


}

.header ul li {

    margin-top: 16px;
}

.header ul :nth-child(1) {
    margin-left: -10px;
}

.header ul :nth-child(2) {
    margin-left: 900px;
}


.header ul :nth-child(3) {
    margin-left: 25px;
}

.header ul :nth-child(4) {
    margin-left: 75px;
}

.header ul :nth-child(5) {
    margin-left: 30px;
}

.header a {
    text-decoration: none;
    color: black;
    font-weight: lighter;
}

.header a:hover {
    color: cadetblue;
}

input {
    cursor: pointer;
}

.carousel {
    margin:0 auto;

}

.showcar {
    width: 1200px;
    height: 250px;
    margin: 0 auto;
    padding: 30px;
}

h1 {
    margin-top: 25px;
    margin-left: 75px;
}

.footer {

    color: cadetblue;
    margin: 0 auto;
    height: 65px;
    margin-top: 30px;
    text-align: center;
    font-size: 0;

}

.footer span {
    font-size: 25px;
    vertical-align: middle;

}

.footer span:hover {
    color: green;
    cursor: default;
}

.footer img {
    width: 65px;
    height: 65px;
    vertical-align: middle;
}

.floatfix {
    float: left;

}

.clearfix {
    clear: both;
}

.car {
    background-color: aliceblue;
    box-shadow: 2px 2px 2px 2px #888888;
    width: 275px;
    height: 250px;
    margin-left: 20px;
    padding-top: 25px;
    transition: margin 0.5s;


}
.car:hover{
    margin-top: 4px;
    box-shadow: 3px 3px 10px 2px #888888;

}


.parentposition {
    position: relative;
}

.childposition {
    position: absolute;
    top: 5px;
    left: 30px;
    width: 210px;
    height: 30px;
    background-color: aliceblue;
    font-size: 10px;
    font-weight: lighter;
    cursor: default;

}

.childposition2 {
    position: absolute;
    top: 35px;
    left: 30px;
    width: 210px;
    height: 18px;
    background-color: aliceblue;
    font-size: 15px;
    font-weight: bolder;
    text-align: center;

}

.childposition3 {
    position: absolute;
    top: 55px;
    left: 5px;
    width: 210px;
    height: 18px;
    background-color: aliceblue;
    font-size: 15px;
    font-weight: bolder;
    text-align: left;
    color: red;
    cursor: default;

}

.childposition3::before {
    content: '¥';
    color: red;
}

.childposition4 {
    position: absolute;
    top: 70px;
    left: 25px;
    width: 225px;
    size: 2px;
    background-color: aliceblue;
    font-weight: lighter;
    text-align: right;
    color: gray;

}

.childposition5 {
    position: absolute;
    top: 80px;
    right: 5px;
    height: 10px;
    background-color: aliceblue;
    font-size: 12px;
    font-weight: normal;
    text-align: left;
    color: #ccc;
    cursor: default;

}

.childposition5::before {
    content: '月销量:';
}

.childposition5::after {
    content: '+';
}

.img {
    width: 250px;
    height: 150px;

    margin-left: 13px;


}

.img:hover {
    transform: scale(1.1);
}

a {
    text-decoration-line: none;
    text-decoration: none;
    color: black;
}

a:hover {
    color: #888888;
}
a {
    text-decoration: none;
}
li {
    list-style-type: none;
}
/* 更改图片的大小 */


/* 确定盒子的大小 */
.box {
    position: relative;
    width: 800px;
    height:350px;
    /* 居中 */
    top: -185px;
    left: 483px;
    transform: translate(-50%,50%);
    margin-bottom: 90px;
}
.imgs {
    position: absolute;
    width:545px;
    height: 300px;
    top: 0;
    left: 50%;
    transform: translate(-50%,0%);
}
/* 让图片都叠在一起 */
.imgs li {
    position: absolute;
    width: 730px;
    transition: 0.5s;
}
/* 给左右按钮设计样式，和定位 */
.box .left {
    position: absolute;
    font-size: 24px;
    color: white;
    width: 50px;
    height: 100px;
    line-height: 100px;
    text-align: center;
    background-color: black;
    border-radius: 18px;
    /* 添加半透明 */
    opacity: .3;
    top: 46%;
    left: -66px;
    z-index: 999;
}
.box .right {
    position: absolute;
    font-size: 24px;
    color: white;
    width: 50px;
    height: 100px;
    line-height: 100px;
    text-align: center;
    background-color: black;
    border-radius: 18px;
    /* 添加半透明 */
    opacity: .3;
    top: 46%;
    right: -354px;
    z-index: 999;
}
/* 给左右按钮添加鼠标移入样式 */
.left:hover {
    /* 把透明度挑高一点，让按钮看起来更亮一些 */
    opacity: .7;
}
.right:hover {
    opacity: .7;
}
/* 把图片错开 */
.imgs .one {
    transform: translateX(-250px) scale(0.9);
    z-index: 1;
}
/* 第二张图片在中间，层级最高 */
.imgs .two {
    z-index: 2;
}
.imgs .three {
    transform: translateX(250px) scale(0.9);
    z-index: 1;
}
/* 刚开始不显示的图片就放在中间图片的下面 */
.imgs .four {
    transform: scale(0.9);
}
.imgs .five {
    transform: scale(0.9);
}
.imgs .six {
    transform: scale(0.9);
}
/* 设计小圆圈 */
/* 定位 */
.list {
    position: absolute;
    bottom: -25px;
    left: 50%;
    margin-left: -81px ;
    z-index: 777;
}
/* 设计样式 */
.list li {
    float: left;
    width: 50px;
    height: 1px;
    background-color: rgb(230, 230, 230);
    border-radius: 50%;
    margin: 0 6px;
    cursor: pointer;
}
/* 小圆圈改变后的样式 */
.list .change {
    background-color: rgb(236, 65, 65);
}
/* 左右两边各一个盒子 */
.rights{
    position: absolute;
    right: 0;
    bottom: 30px;
    height: 255.5px;
    width: 100px;
}
.lefts{
    position: absolute;
    left: 0;
    bottom: 14px;
    height: 255.5px;
    width: 100px;
}
.imgs img{
    width: 800px;
    height: 400px;
    border-radius: 20px;
    box-shadow: 5px 5px 5px rgba(0,0,0,0.2);
}
/* #endregion */


.icon{
    width: 25px;
    height: 25px;
}